<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>注册 - 上饶荣美整形 </title>
    <meta http-equiv="x-ua-compatible" content="IE=EmulateIE7"/>
    <meta name="keywords" content="{$SEO['keyword']}"/>
    <meta name="description" content="{$SEO['description']}"/>
    <link rel="shortcut icon" href="{STATIC_PATH}images/rm.ico" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel=stylesheet type="text/css" href="{STATIC_PATH}css/reg_style.css">
    <script src="{STATIC_PATH}js/jquery-1.4.2.min.js" type="text/javascript" language="javascript"></script>
    <style type="text/css">
        .h1 ul li {
            width: 100px;
        }

        .dh .h3 {
            width: 840px;
        }

        .dh .h3 {
            width: 170px;
        }

        .dh .h3 li.Nav2_3 {
            width: 75px;
        }

        .dh .h1 li.Nav2_3 {
            width: 75px;
        }
    </style>
</head>
<body>
<div id="header">
    <div id="top" class="a1">
        <div class="a1">
            <div class="a2">荣美整形
                [ <a class="Nav1" href="{APP_PATH}index.php?m=member&c=index&a=login">登录</a> |
                <a class="Nav1" href="{APP_PATH}index.php?m=member&c=index&a=register">免费注册</a> ]
            </div>
            <div class="a6">
                <ul>
                    <li><a href="javascript:;" class="Nav1" >项目导航</a></li>
                    <li><a href="/doctor/" class="Nav1" >整形专家</a></li>
                    <li><a href="javascript:;" class="Nav1"  onclick="addfavorite()">收藏本站</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="gt"><img src="{STATIC_PATH}images/imge/l1.jpg"/></div>
<div class="go">
    <div class="go_go">
        <div class="go1">注册为新会员</div>
    </div>
</div>
<div class="gp">
    <div class="gp_z">
        <div class="gp_zp10"><img src="{STATIC_PATH}images/imge/l11.jpg" width="237" height="307"/></div>
    </div>
    <div class="gp_y">
        <div class="lt"></div>
        <div class="lt1">

            <div class="lt1_lb">
                <div class="reg_title">注册成为荣美会员</div>
                <div class="reg_inbox">
                    <div class="reg_hh_h1"></div>
                    <div class="reg_hh_h2">

                        <div class="reg_in">&nbsp;&nbsp;&nbsp;&nbsp;用户：
                            <input name="username" id="username" type="text" class="user_input" maxlength="30" style="width:150px;height:17px"/>
                            <span>*中英文均可 长度需为4至30个字符之间</span>
                        </div>
                        <div class="reg_in">&nbsp;&nbsp;&nbsp;&nbsp;密码：
                            <input name="passwd" id="passwd" type="password" class="user_input" style="width:150px;height:17px"/>
                            <span>*可以是6至16位数字或字母</span>
                        </div>
                        <div class="reg_in">&nbsp;&nbsp;&nbsp;&nbsp;确认：
                            <input name="passwdy" id="passwdy" type="password" class="user_input" maxlength="255" style="width:150px;height:17px"/>
                            <span>*重复上面的密码</span>
                        </div>
                        <div class="reg_in">&nbsp;&nbsp;&nbsp;&nbsp;手机：
                            <input name="passwdy" id="phone" type="text" class="user_input" maxlength="255" style="width:150px;height:17px"/>
                            <a href="javascript:;" onclick="doGetMessage()">获取验证码</a>
                        </div>
                        <div class="reg_cap">&nbsp;&nbsp;短信验证码：
                            <input name="verify" id="verify" type="text" class="box1" size=4 maxlength="4">&nbsp;
                        </div>
                        <div class="px10"></div>
                        <!--<div class="reg_read">-->
                            <!--<input name="status" type="checkbox" id="status" value="1" checked/>-->
                            <!--已阅荣美整形社区用户协议-->
                        <!--</div>-->
                        <div class="reg_s2_lb1_nr3">
                            <input type="button" onclick="regjs()" value="注册"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="重填"/>
                        </div>

                        <div class="px10"></div>
                        <div id="waring" class="waring_reg">注册成为荣美会员，享受最大整形优惠</div>
                    </div>

                </div>

            </div>
        </div>
        <div class="lt2"></div>
    </div>
</div>
{template "content","footer_common_rm"}
<script>
    function doGetMessage(){
        
    }
    function regjs(){
        var username = $('#username').val();
        var passwd = $('#passwd').val();
        var passwdy = $('#passwdy').val();
        var phone = $('#phone').val();
        var verify = $('#verify').val();
        if(username==''){
            $('#waring').html('<span style="color:#FF0000">* 用户名不能为空</span>');
            return;
        }
        if(passwd==''){
            $('#waring').html('<span style="color:#FF0000">* 密码不能为空</span>');
            return;
        }
        if(passwdy==''){
            $('#waring').html('<span style="color:#FF0000">* 请确认密码</span>');
            return;
        }else{
            if(passwd!=passwdy){
                $('#waring').html('<span style="color:#FF0000">* 两次密码不一致</span>');
                return;
            }
        }
        if(phone==''){
            $('#waring').html('<span style="color:#FF0000">* 手机号码不能为空</span>');
            return;
        }else{
            var phone_reg = /^1[3|4|5|7|8][0-9]{9}$/;
            if(!phone_reg.test(phone)){
                $('#waring').html('<span style="color:#FF0000">* 手机号码不正确</span>');
                return;
            }
        }
        if(verify==''){
            $('#waring').html('<span style="color:#FF0000">* 短信验证码不能为空</span>');
            return;
        }
    }
</script>
</body>
</html>
<!--<script src="includes/sq.js"> </script>-->
<!--<script src="includes/ajax.js"> </script>-->
<!--<script>-->
<!--var childWindow;-->
<!--function toQzoneLogin(){-->
<!--childWindow=window.open("qq_login.php","TencentLogin","width=450,height=340,menubar=0,scrollbars=0, resizable=1,status=1,titlebar=0,toolbar=0,location=1");-->
<!--}-->
<!--function closeChildWindow(){-->
<!--location.href=location.href;-->
<!--}-->
<!--</script>-->